package com.fsserver.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 对账实体类
 * Reconciliation Entity
 *
 * @author fsserver
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("reconciliation")
public class Reconciliation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 对账号
     * Reconciliation number
     */
    private String reconciliationNo;

    /**
     * 支付类型
     * Payment type
     */
    private String paymentType;

    /**
     * 对账日期
     * Reconciliation date
     */
    private Date reconciliationDate;

    /**
     * 对账状态
     * Reconciliation status
     */
    private String status;

    /**
     * 总订单数
     * Total order count
     */
    private Integer totalOrderCount;

    /**
     * 总订单金额
     * Total order amount
     */
    private BigDecimal totalOrderAmount;

    /**
     * 成功订单数
     * Success order count
     */
    private Integer successOrderCount;

    /**
     * 成功订单金额
     * Success order amount
     */
    private BigDecimal successOrderAmount;

    /**
     * 失败订单数
     * Failed order count
     */
    private Integer failedOrderCount;

    /**
     * 失败订单金额
     * Failed order amount
     */
    private BigDecimal failedOrderAmount;

    /**
     * 退款订单数
     * Refund order count
     */
    private Integer refundOrderCount;

    /**
     * 退款订单金额
     * Refund order amount
     */
    private BigDecimal refundOrderAmount;

    /**
     * 第三方总订单数
     * Third-party total order count
     */
    private Integer thirdPartyTotalOrderCount;

    /**
     * 第三方总订单金额
     * Third-party total order amount
     */
    private BigDecimal thirdPartyTotalOrderAmount;

    /**
     * 第三方成功订单数
     * Third-party success order count
     */
    private Integer thirdPartySuccessOrderCount;

    /**
     * 第三方成功订单金额
     * Third-party success order amount
     */
    private BigDecimal thirdPartySuccessOrderAmount;

    /**
     * 第三方退款订单数
     * Third-party refund order count
     */
    private Integer thirdPartyRefundOrderCount;

    /**
     * 第三方退款订单金额
     * Third-party refund order amount
     */
    private BigDecimal thirdPartyRefundOrderAmount;

    /**
     * 差异订单数
     * Difference order count
     */
    private Integer differenceOrderCount;

    /**
     * 差异订单金额
     * Difference order amount
     */
    private BigDecimal differenceOrderAmount;

    /**
     * 对账数据
     * Reconciliation data
     */
    private String reconciliationData;

    /**
     * 备注
     * Remarks
     */
    private String remarks;
} 